package com.xmut.mall.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xmut.mall.manager.vo.MenuVo;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@TableName("manager_member")
public class MemberEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ID_WORKER)
    private Long id;

    private String username;// 用户名

    private String password; // 密码

    private String userFace; // 头像

    private String userAuth; // 权限

    private Boolean userDisabled; // 是否启用

    /**
     * 用户登录的浏览器的标识
     */
    @TableField(exist = false)
    private String userAgent;
}
